<html>
<head><meta charset="utf-8"><title>shrinking the deprecated method span · t-compiler/wg-diagnostics · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/147480-t-compiler/wg-diagnostics/index.html">t-compiler/wg-diagnostics</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/147480-t-compiler/wg-diagnostics/topic/shrinking.20the.20deprecated.20method.20span.html">shrinking the deprecated method span</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="242694831"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/147480-t-compiler/wg-diagnostics/topic/shrinking%20the%20deprecated%20method%20span/near/242694831" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> hi-rustin <a href="https://rust-lang.github.io/zulip_archive/stream/147480-t-compiler/wg-diagnostics/topic/shrinking.20the.20deprecated.20method.20span.html#242694831">(Jun 15 2021 at 07:02)</a>:</h4>
<p><span class="user-mention" data-user-id="119031">@Esteban Küber</span> Thanks for your reply at <a href="https://github.com/rust-lang/rust/pull/85617#issuecomment-859252464">https://github.com/rust-lang/rust/pull/85617#issuecomment-859252464</a>, but it looks like res is None. so there's still no way to tell if it's an assoc method.</p>



<a name="242696836"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/147480-t-compiler/wg-diagnostics/topic/shrinking%20the%20deprecated%20method%20span/near/242696836" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> hi-rustin <a href="https://rust-lang.github.io/zulip_archive/stream/147480-t-compiler/wg-diagnostics/topic/shrinking.20the.20deprecated.20method.20span.html#242696836">(Jun 15 2021 at 07:27)</a>:</h4>
<p>Strangely, this is only an issue when passing method_span, so maybe I'll have to take a closer look at how method_span affects the triggering of this diagnostic message.</p>



<a name="242698393"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/147480-t-compiler/wg-diagnostics/topic/shrinking%20the%20deprecated%20method%20span/near/242698393" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> hi-rustin <a href="https://rust-lang.github.io/zulip_archive/stream/147480-t-compiler/wg-diagnostics/topic/shrinking.20the.20deprecated.20method.20span.html#242698393">(Jun 15 2021 at 07:46)</a>:</h4>
<p>Found the problem! I will fix it</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>